package com.sicilin.po;

public class TSysRoleAuth {
    private Integer roleId;
    private Integer authId;
    private Integer checked;
    private Integer status;

    public Integer getChecked() {
        return checked;
    }

    public void setChecked(Integer checked) {
        this.checked = checked;
    }

    public Integer getRoleId() {
        return roleId;
    }

    public void setRoleId(Integer roleId) {
        this.roleId = roleId;
    }

    public Integer getAuthId() {
        return authId;
    }

    public void setAuthId(Integer authId) {
        this.authId = authId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;

        TSysRoleAuth that = (TSysRoleAuth) o;

        if (!roleId.equals(that.roleId)) return false;
        return authId.equals(that.authId);
    }

    @Override
    public int hashCode() {
        int result = roleId.hashCode();
        result = 31 * result + authId.hashCode();
        return result;
    }
}
